<template>
  <div>
    <div class="heder_bg">
      <div class="header_icon">
        <img src="../assets/images/fanhui.png" height="16px" />
        <img src="../assets/images/fanhuishouye.png" height="21px" />
      </div>
    </div>
    <div class="content">
      <div class="content_box" @click="goCustomer">
        <img src="../assets/images/我的客户.png" height="41px" />
        <p>我的客户</p>
        <span>MY CLENTS</span>
      </div>
      <div class="content_box" @click="goNewVisits">
        <img src="../assets/images/客户关怀.png" height="41px" />
        <p>客户关怀</p>
        <span>CUSTOMER</span>
      </div>
      <div class="content_box" @click="goMessage">
        <img src="../assets/images/消息中心.png" height="41px" />
        <p>消息中心</p>
        <span>NEWS</span>
      </div>
      <div class="content_box" @click="Express">
        <img src="../assets/images/物流单.png" height="41px" />
        <p>物流单</p>
        <span>LOGISTICS</span>
      </div>
      <div class="content_box" @click="$router.push('/shipment')">
        <img src="../assets/images/物流单.png" height="41px" />
        <p>送货单</p>
        <span>DELIVERY SLIP</span>
      </div>
    </div>
    <div class="footer">
      <div class="footer_bg">
        <div class="footer_content">
          <img src="../assets/images/系统功能.png" />
          <p>系统功能</p>
        </div>
        <div class="footer_content" @click="Personal">
          <img src="../assets/images/个人中心.png" />
          <p>个人中心</p>
        </div>
      </div>
      <div class="box">联系</div>
    </div>
  </div>
</template>


<script>
export default {
  data() {
    return {};
  },
  methods: {
    goMessage() {
      this.$router.push("/message");
    },
    Personal() {
      this.$router.push("/userlest");
    },
    Express(){
      this.$router.push('/star')
    },
    goCustomer(){
      this.$router.push('/custlist')
    },
    goNewVisits(){
      this.$router.push('/vsitlist');
    },
  },
};
</script>
<style lang='less' scoped>
.heder_bg {
  width: 100%;
  height: 175px;
  background: url("../assets/images/vodewolfbg.gif") no-repeat center center;
}
.header_icon {
  padding: 10px;
  display: flex;
  justify-content: space-between;
}
.content {
  width: 277px;
  margin: 25px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  .content_box {
    width: 48%;
    height: 175px;
    background-color: #fff;
    text-align: center;
    margin-top: 10px;
    img {
      display: block;
      margin: auto;
      margin-top: 48px;
      margin-bottom: 20px;
    }
    p {
      font-size: 20px;
      margin-bottom: 7px;
    }
    span {
      display: block;
      width: 100%;
      font-size: 12px;
    }
  }
}
.footer {
  height: 65px;
  margin-top: 12px;
  position: relative;
  .footer_bg {
    width: 100%;
    height: 65px;
    background-color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    .footer_content {
      width: 50%;
      height: 65px;
      text-align: center;
      margin-bottom: 42px;
      img {
        width: 18px;
        display: block;
        text-align: center;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 8px;
      }
    }
  }
  .box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    color: #fff;
    font-size: 16px;
    background-color: #ffcc33;
    border: 6px solid #f5f5f5;
    position: fixed;
    left:50%;
    bottom: 0;
    margin-left: -40px;
  }
}
</style>